<?php

namespace app\models;

use Yii;

/**
 * This is the model class for table "{{%district}}".
 *
 * @property integer $id
 * @property integer $parent_id
 * @property string $citycode
 * @property string $adcode
 * @property string $name
 * @property string $lng
 * @property string $lat
 * @property string $level
 */
class DistrictHot extends \yii\db\ActiveRecord
{
    /**
     * @inheritdoc
     */
    public static function tableName()
    {
        return '{{%district_hot}}';
    }

    /**
     * @inheritdoc
     */
    public function rules()
    {
        return [
            [['id','num'], 'integer'],
            [[ 'name'], 'required'],
        ];
    }

    /**
     * @inheritdoc
     */
    public function attributeLabels()
    {
        return [
            'id' => 'ID',
            'name' => 'Name',
            'num' => 'num',
        ];
    }
	
	

  
}
